package com.timguan.render.api.api;

import net.pocrd.entity.AbstractReturnCode;

/**
 * Created by guankaiqiang on 2014/12/13.
 */
public class B2CMallServiceReturnCode extends AbstractReturnCode {
    public B2CMallServiceReturnCode(String desc, int code) {
        super(desc, code);
    }

    public B2CMallServiceReturnCode(int code, AbstractReturnCode shadow) {
        super(code, shadow);
    }

    public static final int _C_B2CMALL_INTERNAL_ERROR = 1000001;
    public static final AbstractReturnCode B2CMALL_INTERNAL_ERROR = new B2CMallServiceReturnCode("内部异常", _C_B2CMALL_INTERNAL_ERROR);
    public static final int _C_PARAMTER_ERROR = 1000002;
    public static final AbstractReturnCode B2CMALL_PARAMTER_ERROR = new B2CMallServiceReturnCode("参数错误", _C_PARAMTER_ERROR);
    public static final int _C_PAGEURL_ILLEGAL = 1000003;
    public static final AbstractReturnCode PAGEURL_ILLEGAL = new B2CMallServiceReturnCode("url不合法", _C_PAGEURL_ILLEGAL);
    public static final int _C_TOPIC_NOT_FOUND = 1000100;
    public static final AbstractReturnCode TOPIC_NOT_FOUND = new B2CMallServiceReturnCode("未知的专题", _C_TOPIC_NOT_FOUND);
    public static final int _C_TOPIC_TYPE_NOT_MATCH = 1000101;
    public static final AbstractReturnCode TOPIC_TYPE_NOT_MATCH = new B2CMallServiceReturnCode("访问专题类型不匹配", _C_TOPIC_TYPE_NOT_MATCH);
}
